﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WastedMechanics
{
    public class Container : Described, IContainer
    {
        private Equipment _equipment;

        public Container(ContainerProfile profile)
            : base(profile as DescribedProfile)
        {            
            _equipment = new Equipment();
            Equipment.Capacity = (Profile as ContainerProfile).Capacity;
        }

        public Equipment Equipment
        {
            get
            {
                return _equipment;
            }
        }
    }
}
